$filteriw = isset($params['filteriw']) ? $params['filteriw'] : false;
$this->appendInterwikiMap($p, $filteriw);
break;
$filteriw = isset($params['filteriw']) ? $params['filteriw'] : false;
$this->appendInterwikiMap($p, $filteriw);
break;
' "general" - Overall system information',
' "namespaces" - List of registered namespaces (localized)',
' "interwikimap" - Return interwiki map (optionally filtered)',
' "general" - Overall system information',
' "namespaces" - List of registered namespaces (localized)',
' "interwikimap" - Return interwiki map (optionally filtered)',
),
'filteriw' => 'Return only local or only nonlocal entries of the interwiki map',
'showalldb' => 'List all DB servers, not just the one lagging the most',
),
'filteriw' => 'Return only local or only nonlocal entries of the interwiki map',
'showalldb' => 'List all DB servers, not just the one lagging the most',
return array(
'api.php?action=query&meta=siteinfo&siprop=general|namespaces',
'api.php?action=query&meta=siteinfo&siprop=interwikimap&sifilteriw=local',
return array(
'api.php?action=query&meta=siteinfo&siprop=general|namespaces',
'api.php?action=query&meta=siteinfo&siprop=interwikimap&sifilteriw=local',